<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NFC / NDEF Library for Proximity APIs: NdefLibrary.Ndef.NdefHandoverVersion Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NdefLibraryLogo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NFC / NDEF Library for Proximity APIs
   &#160;<span id="projectnumber">4.1.0</span>
   </div>
   <div id="projectbrief">Easily parse and create NDEF records with the Windows Proximity APIs / Near Field Communication NFC.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_ndef_library.html">NdefLibrary</a></li><li class="navelem"><a class="el" href="namespace_ndef_library_1_1_ndef.html">Ndef</a></li><li class="navelem"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html">NdefHandoverVersion</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">NdefLibrary.Ndef.NdefHandoverVersion Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Utility class that handles the correct format for storing version information in Handover records. The handover version contains a major and minor version. This implementation conforms to the specification with major version 1 and minor version 3.  
 <a href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aed28fdccd5480e76581b5ae68a52f24f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#aed28fdccd5480e76581b5ae68a52f24f">NdefHandoverVersion</a> ()</td></tr>
<tr class="memdesc:aed28fdccd5480e76581b5ae68a52f24f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3.  <a href="#aed28fdccd5480e76581b5ae68a52f24f">More...</a><br /></td></tr>
<tr class="separator:aed28fdccd5480e76581b5ae68a52f24f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a503cea02e2473e89e128bbe6f0616ff2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#a503cea02e2473e89e128bbe6f0616ff2">NdefHandoverVersion</a> (byte combinedVersion)</td></tr>
<tr class="memdesc:a503cea02e2473e89e128bbe6f0616ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3.  <a href="#a503cea02e2473e89e128bbe6f0616ff2">More...</a><br /></td></tr>
<tr class="separator:a503cea02e2473e89e128bbe6f0616ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cdfbbc025fd451c7dee0d4369bf31bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#a0cdfbbc025fd451c7dee0d4369bf31bc">NdefHandoverVersion</a> (float version)</td></tr>
<tr class="memdesc:a0cdfbbc025fd451c7dee0d4369bf31bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3.  <a href="#a0cdfbbc025fd451c7dee0d4369bf31bc">More...</a><br /></td></tr>
<tr class="separator:a0cdfbbc025fd451c7dee0d4369bf31bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a6c75c45edcd6d531eeb63632b06d053d"><td class="memItemLeft" align="right" valign="top">ushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#a6c75c45edcd6d531eeb63632b06d053d">Major</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6c75c45edcd6d531eeb63632b06d053d"><td class="mdescLeft">&#160;</td><td class="mdescRight">4-bit field is the major version of the Connection Handover specification and SHALL be set to 1 by an implementation that conforms to this specification.  <a href="#a6c75c45edcd6d531eeb63632b06d053d">More...</a><br /></td></tr>
<tr class="separator:a6c75c45edcd6d531eeb63632b06d053d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ff224d9910c268529cde2936a2c5b00"><td class="memItemLeft" align="right" valign="top">ushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#a2ff224d9910c268529cde2936a2c5b00">Minor</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2ff224d9910c268529cde2936a2c5b00"><td class="mdescLeft">&#160;</td><td class="mdescRight">4-bit field is the minor version of the Connection Handover specification and SHALL be set to 3 by an implementation that conforms to this specification.  <a href="#a2ff224d9910c268529cde2936a2c5b00">More...</a><br /></td></tr>
<tr class="separator:a2ff224d9910c268529cde2936a2c5b00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30ae766c90cf877488c40723ce4e2d3d"><td class="memItemLeft" align="right" valign="top">byte&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_handover_version.html#a30ae766c90cf877488c40723ce4e2d3d">Version</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a30ae766c90cf877488c40723ce4e2d3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The version as a byte that contains 4 bits for the major version and 4 bit for the minor version.  <a href="#a30ae766c90cf877488c40723ce4e2d3d">More...</a><br /></td></tr>
<tr class="separator:a30ae766c90cf877488c40723ce4e2d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Utility class that handles the correct format for storing version information in Handover records. The handover version contains a major and minor version. This implementation conforms to the specification with major version 1 and minor version 3. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aed28fdccd5480e76581b5ae68a52f24f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed28fdccd5480e76581b5ae68a52f24f">&#9670;&nbsp;</a></span>NdefHandoverVersion() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefLibrary.Ndef.NdefHandoverVersion.NdefHandoverVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3. </p>

</div>
</div>
<a id="a503cea02e2473e89e128bbe6f0616ff2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a503cea02e2473e89e128bbe6f0616ff2">&#9670;&nbsp;</a></span>NdefHandoverVersion() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefLibrary.Ndef.NdefHandoverVersion.NdefHandoverVersion </td>
          <td>(</td>
          <td class="paramtype">byte&#160;</td>
          <td class="paramname"><em>combinedVersion</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">combinedVersion</td><td>The field to use for the version, contains 4 bits for minor and 4 bits for the major version.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0cdfbbc025fd451c7dee0d4369bf31bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cdfbbc025fd451c7dee0d4369bf31bc">&#9670;&nbsp;</a></span>NdefHandoverVersion() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefLibrary.Ndef.NdefHandoverVersion.NdefHandoverVersion </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>version</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">version</td><td>Parse the float version into a major and minor component.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a6c75c45edcd6d531eeb63632b06d053d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c75c45edcd6d531eeb63632b06d053d">&#9670;&nbsp;</a></span>Major</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ushort NdefLibrary.Ndef.NdefHandoverVersion.Major</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>4-bit field is the major version of the Connection Handover specification and SHALL be set to 1 by an implementation that conforms to this specification. </p>
<p>When an NDEF parser reads a different value, it SHALL NOT assume backwards compatibility. Changing this property automatically also updates the combined Version property. </p>

</div>
</div>
<a id="a2ff224d9910c268529cde2936a2c5b00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ff224d9910c268529cde2936a2c5b00">&#9670;&nbsp;</a></span>Minor</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ushort NdefLibrary.Ndef.NdefHandoverVersion.Minor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>4-bit field is the minor version of the Connection Handover specification and SHALL be set to 3 by an implementation that conforms to this specification. </p>
<p>When an NDEF parser reads a different value, it SHALL NOT assume backwards compatibility. Changing this property automatically also updates the combined Version property. </p>

</div>
</div>
<a id="a30ae766c90cf877488c40723ce4e2d3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30ae766c90cf877488c40723ce4e2d3d">&#9670;&nbsp;</a></span>Version</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">byte NdefLibrary.Ndef.NdefHandoverVersion.Version</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The version as a byte that contains 4 bits for the major version and 4 bit for the minor version. </p>
<p>Changing this property automatically also udpates the major and minor accrssor properties. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>NdefLibrary/Ndef/NdefHandoverVersion.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Aug 16 2017 15:07:45 for NFC / NDEF Library for Proximity APIs by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
